<script>
/*
 * @Author: wzh 
 * @Date: 2020-12-30 21:02:57 
 * @Last Modified by: 1521620993@qq.com
 * @Last Modified time: 2020-12-30 21:13:20
 */
</script>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>09-常规流前面的浮动元素</title>
</head>
<body>
  <!-- <style>
    .box{
      width: 300px;
      height: 200px;
      background-color: wheat;
      color: #fff
    }
    .item{
      width: 50px;
      height: 50px;
      margin: 2px;
      border: 2px solid brown;
      float: left;
    }
    .normal{
      height: 50px;
      background-color: magenta;
    }
  </style>
  <div class="box">
    <div class="item">1</div>
    <div class="item">2</div>
    <div class="item">3</div>
    <div class="item">4</div>
    <div class="item">5</div>
    <div class="item">6</div>
    <div class="item">7</div>
    <div class="item">8</div>
    <div class="item">9</div>
    <div class="item">10</div>
    <div class="normal"></div>
  </div> -->
  <style>
    .box1{
      width: 50px;
      height: 50px;
      /* background-color: magenta; */
      float: left;
      opacity: 0.5;
      border: 2px dashed red;
    }
    .box2{
      border: 1px solid blue;
      background-color: gold;
    }
  </style>
  <div class="box1"></div>
  <div class="box2">
    Lorem ipsum dolor, sit amet consectetur adipisicing elit. Aut aliquid illo, assumenda molestiae tenetur beatae asperiores iste. Dicta labore sint corporis, quasi ipsum culpa vero pariatur ad doloribus officia dolore.
  </div>
</body>
</html>